<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<%@ taglib prefix="sjg" uri="/struts-jquery-grid-tags"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <link rel="stylesheet" type="text/css" href="estilo/style.css" />
</head>
<body>
    <s:set name="n_cod">
		<s:property value="cod_prospecto" />
	</s:set>
    <s:url id="remoteurl" action="listar_hactividadesgd"  escapeAmp ="false" >
            <s:param name="ids" value="%{n_cod}" />
      		<s:param name="opc" value="1" />
	</s:url>
    <sjg:grid 
    	id="gridtable" 
    	caption="Historico actividades" 
    	dataType="json" 
    	href="%{remoteurl}" 
    	pager="true" 
    	gridModel="gridModel"
    	rowList="5,10,15"
    	rowNum="10"
    	rownumbers="true"
    	loadingText="Cargando ..."
    	javascriptTooltip="true"
    	cssStyle="font-size:0.8em; "
    >
    	<sjg:gridColumn name="col1" index="col1" title="Fecha"         sortable="false"    width="70"  />
    	<sjg:gridColumn name="col2" index="col2" title="Hora"          sortable="false"   width="60"  />
    	<sjg:gridColumn name="col3" index="col3" title="Actividad"     sortable="false"   width="130"  />
    	<sjg:gridColumn name="col4" index="col4" title="Detalle"       sortable="false"   width="200"  />
    	<sjg:gridColumn name="col5" index="col5" title="Observaciones" sortable="false"  width="400" />
    	<sjg:gridColumn name="col6" index="col6" title="Usuario"       sortable="false"  width="90" />
    </sjg:grid>
 
</body>
</html>